[INFO] cloning repository https://github.com/robertolima-dev/rust_blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robertolima-dev/rust_blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertolima-dev%2Frust_blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertolima-dev%2Frust_blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4f4da873087e658c406ee7943c4293e526e1b5a2
[INFO] testing robertolima-dev/rust_blockchain against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertolima-dev%2Frust_blockchain" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/robertolima-dev/rust_blockchain
[INFO] finished tweaking git repo https://github.com/robertolima-dev/rust_blockchain
[INFO] tweaked toml for git repo https://github.com/robertolima-dev/rust_blockchain written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/robertolima-dev/rust_blockchain on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/robertolima-dev/rust_blockchain already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7bc065e8fd0658fe942123b7540a8ee3c095c5d0fcd80985c6f867ebf23e6a7c
[INFO] running `Command { std: "docker" "start" "-a" "7bc065e8fd0658fe942123b7540a8ee3c095c5d0fcd80985c6f867ebf23e6a7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7bc065e8fd0658fe942123b7540a8ee3c095c5d0fcd80985c6f867ebf23e6a7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7bc065e8fd0658fe942123b7540a8ee3c095c5d0fcd80985c6f867ebf23e6a7c", kill_on_drop: false }`
[INFO] [stdout] 7bc065e8fd0658fe942123b7540a8ee3c095c5d0fcd80985c6f867ebf23e6a7c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 544524efaa8d9e1f60b74daf1488db4312d5990f1a4ebd6ed4861e3bafb392f8
[INFO] running `Command { std: "docker" "start" "-a" "544524efaa8d9e1f60b74daf1488db4312d5990f1a4ebd6ed4861e3bafb392f8", kill_on_drop: false }`
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling cc v1.2.32
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling jiff v0.2.15
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling uuid v1.18.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling secp256k1 v0.28.2
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling actix-http v3.11.0
[INFO] [stderr]    Compiling actix-web v4.11.0
[INFO] [stderr]    Compiling rust_blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Blockchain` and `DEFAULT_DIFFICULTY`
[INFO] [stdout]  --> src/api/chain.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     BASE_REWARD, Blockchain, DEFAULT_DIFFICULTY, MAX_BLOCK_BYTES, MAX_TXS_PER_BLOCK,
[INFO] [stdout]   |                  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/api/chain.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use log::{debug, info, warn};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OutPoint` and `TxInput`
[INFO] [stdout]   --> src/api/chain.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                          ^^^^^^^^               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/api/tx.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TxInput`
[INFO] [stdout]   --> src/api/tx.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/wallet/mod.rs:2:48
[INFO] [stdout]   |
[INFO] [stdout] 2 | use secp256k1::{Message, PublicKey, Secp256k1, SecretKey, ecdsa::Signature};
[INFO] [stdout]   |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead
[INFO] [stdout]   --> src/wallet/mod.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let msg = Message::from_slice(&msg32).map_err(|_| "invalid message length")?;
[INFO] [stdout]    |                        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/api/tx.rs:168:10
[INFO] [stdout]     |
[INFO] [stdout] 168 |     for (i, input) in tx.inputs.iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Blockchain` and `DEFAULT_DIFFICULTY`
[INFO] [stdout]  --> src/api/chain.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     BASE_REWARD, Blockchain, DEFAULT_DIFFICULTY, MAX_BLOCK_BYTES, MAX_TXS_PER_BLOCK,
[INFO] [stdout]   |                  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/api/chain.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use log::{debug, info, warn};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OutPoint` and `TxInput`
[INFO] [stdout]   --> src/api/chain.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                          ^^^^^^^^               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/api/tx.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TxInput`
[INFO] [stdout]   --> src/api/tx.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/wallet/mod.rs:2:48
[INFO] [stdout]   |
[INFO] [stdout] 2 | use secp256k1::{Message, PublicKey, Secp256k1, SecretKey, ecdsa::Signature};
[INFO] [stdout]   |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead
[INFO] [stdout]   --> src/wallet/mod.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let msg = Message::from_slice(&msg32).map_err(|_| "invalid message length")?;
[INFO] [stdout]    |                        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/api/tx.rs:168:10
[INFO] [stdout]     |
[INFO] [stdout] 168 |     for (i, input) in tx.inputs.iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `difficulty` and `miner_address` are never read
[INFO] [stdout]   --> src/api/models.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct MiningTemplate {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub difficulty: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 14 |     pub miner_address: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MiningTemplate` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `contains` and `is_empty` are never used
[INFO] [stdout]   --> src/transaction/utxo.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl UtxoSet {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn contains(&self, outpoint: &OutPoint) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.33s
[INFO] running `Command { std: "docker" "inspect" "544524efaa8d9e1f60b74daf1488db4312d5990f1a4ebd6ed4861e3bafb392f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "544524efaa8d9e1f60b74daf1488db4312d5990f1a4ebd6ed4861e3bafb392f8", kill_on_drop: false }`
[INFO] [stdout] 544524efaa8d9e1f60b74daf1488db4312d5990f1a4ebd6ed4861e3bafb392f8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 77d88d5b0b3f0b56a0c3278cfc6a73ad16f6f91417bae224fc40c9e0d8ad3a2b
[INFO] running `Command { std: "docker" "start" "-a" "77d88d5b0b3f0b56a0c3278cfc6a73ad16f6f91417bae224fc40c9e0d8ad3a2b", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `Blockchain` and `DEFAULT_DIFFICULTY`
[INFO] [stdout]  --> src/api/chain.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     BASE_REWARD, Blockchain, DEFAULT_DIFFICULTY, MAX_BLOCK_BYTES, MAX_TXS_PER_BLOCK,
[INFO] [stdout]   |                  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/api/chain.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use log::{debug, info, warn};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OutPoint` and `TxInput`
[INFO] [stdout]   --> src/api/chain.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                          ^^^^^^^^               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/api/tx.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TxInput`
[INFO] [stdout]   --> src/api/tx.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/wallet/mod.rs:2:48
[INFO] [stdout]   |
[INFO] [stdout] 2 | use secp256k1::{Message, PublicKey, Secp256k1, SecretKey, ecdsa::Signature};
[INFO] [stdout]   |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead
[INFO] [stdout]   --> src/wallet/mod.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let msg = Message::from_slice(&msg32).map_err(|_| "invalid message length")?;
[INFO] [stdout]    |                        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust_blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/api/tx.rs:168:10
[INFO] [stdout]     |
[INFO] [stdout] 168 |     for (i, input) in tx.inputs.iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Blockchain` and `DEFAULT_DIFFICULTY`
[INFO] [stdout]  --> src/api/chain.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     BASE_REWARD, Blockchain, DEFAULT_DIFFICULTY, MAX_BLOCK_BYTES, MAX_TXS_PER_BLOCK,
[INFO] [stdout]   |                  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/api/chain.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use log::{debug, info, warn};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OutPoint` and `TxInput`
[INFO] [stdout]   --> src/api/chain.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                          ^^^^^^^^               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/api/tx.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TxInput`
[INFO] [stdout]   --> src/api/tx.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/wallet/mod.rs:2:48
[INFO] [stdout]   |
[INFO] [stdout] 2 | use secp256k1::{Message, PublicKey, Secp256k1, SecretKey, ecdsa::Signature};
[INFO] [stdout]   |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Blockchain` and `DEFAULT_DIFFICULTY`
[INFO] [stdout]  --> src/api/chain.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     BASE_REWARD, Blockchain, DEFAULT_DIFFICULTY, MAX_BLOCK_BYTES, MAX_TXS_PER_BLOCK,
[INFO] [stdout]   |                  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/api/chain.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use log::{debug, info, warn};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OutPoint` and `TxInput`
[INFO] [stdout]   --> src/api/chain.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                          ^^^^^^^^               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/api/tx.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TxInput`
[INFO] [stdout]   --> src/api/tx.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/wallet/mod.rs:2:48
[INFO] [stdout]   |
[INFO] [stdout] 2 | use secp256k1::{Message, PublicKey, Secp256k1, SecretKey, ecdsa::Signature};
[INFO] [stdout]   |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead
[INFO] [stdout]   --> src/wallet/mod.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let msg = Message::from_slice(&msg32).map_err(|_| "invalid message length")?;
[INFO] [stdout]    |                        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead
[INFO] [stdout]   --> src/wallet/mod.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let msg = Message::from_slice(&msg32).map_err(|_| "invalid message length")?;
[INFO] [stdout]    |                        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/api/tx.rs:168:10
[INFO] [stdout]     |
[INFO] [stdout] 168 |     for (i, input) in tx.inputs.iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/api/tx.rs:168:10
[INFO] [stdout]     |
[INFO] [stdout] 168 |     for (i, input) in tx.inputs.iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `difficulty` and `miner_address` are never read
[INFO] [stdout]   --> src/api/models.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct MiningTemplate {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub difficulty: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 14 |     pub miner_address: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MiningTemplate` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `contains` and `is_empty` are never used
[INFO] [stdout]   --> src/transaction/utxo.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl UtxoSet {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn contains(&self, outpoint: &OutPoint) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.46s
[INFO] running `Command { std: "docker" "inspect" "77d88d5b0b3f0b56a0c3278cfc6a73ad16f6f91417bae224fc40c9e0d8ad3a2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77d88d5b0b3f0b56a0c3278cfc6a73ad16f6f91417bae224fc40c9e0d8ad3a2b", kill_on_drop: false }`
[INFO] [stdout] 77d88d5b0b3f0b56a0c3278cfc6a73ad16f6f91417bae224fc40c9e0d8ad3a2b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 117ba9af2fb3e2450241246c34414b6e80f49bf457d9983a34af38a852d3cf6c
[INFO] running `Command { std: "docker" "start" "-a" "117ba9af2fb3e2450241246c34414b6e80f49bf457d9983a34af38a852d3cf6c", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Blockchain` and `DEFAULT_DIFFICULTY`
[INFO] [stderr]  --> src/api/chain.rs:2:18
[INFO] [stderr]   |
[INFO] [stderr] 2 |     BASE_REWARD, Blockchain, DEFAULT_DIFFICULTY, MAX_BLOCK_BYTES, MAX_TXS_PER_BLOCK,
[INFO] [stderr]   |                  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]  --> src/api/chain.rs:5:24
[INFO] [stderr]   |
[INFO] [stderr] 5 | use log::{debug, info, warn};
[INFO] [stderr]   |                        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `OutPoint` and `TxInput`
[INFO] [stderr]   --> src/api/chain.rs:12:26
[INFO] [stderr]    |
[INFO] [stderr] 12 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stderr]    |                          ^^^^^^^^               ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashSet`
[INFO] [stderr]  --> src/api/tx.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::collections::HashSet;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `TxInput`
[INFO] [stderr]   --> src/api/tx.rs:10:49
[INFO] [stderr]    |
[INFO] [stderr] 10 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stderr]    |                                                 ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `SecretKey`
[INFO] [stderr]  --> src/wallet/mod.rs:2:48
[INFO] [stderr]   |
[INFO] [stderr] 2 | use secp256k1::{Message, PublicKey, Secp256k1, SecretKey, ecdsa::Signature};
[INFO] [stderr]   |                                                ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead
[INFO] [stderr]   --> src/wallet/mod.rs:38:24
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let msg = Message::from_slice(&msg32).map_err(|_| "invalid message length")?;
[INFO] [stderr]    |                        ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/api/tx.rs:168:10
[INFO] [stderr]     |
[INFO] [stderr] 168 |     for (i, input) in tx.inputs.iter().enumerate() {
[INFO] [stderr]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_blockchain` (lib) generated 8 warnings (run `cargo fix --lib -p rust_blockchain` to apply 7 suggestions)
[INFO] [stderr] warning: `rust_blockchain` (lib test) generated 8 warnings (8 duplicates)
[INFO] [stderr] warning: fields `difficulty` and `miner_address` are never read
[INFO] [stderr]   --> src/api/models.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub struct MiningTemplate {
[INFO] [stderr]    |            -------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 13 |     pub difficulty: u32,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr] 14 |     pub miner_address: String,
[INFO] [stderr]    |         ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `MiningTemplate` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `contains` and `is_empty` are never used
[INFO] [stderr]   --> src/transaction/utxo.rs:55:12
[INFO] [stderr]    |
[INFO] [stderr] 34 | impl UtxoSet {
[INFO] [stderr]    | ------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 55 |     pub fn contains(&self, outpoint: &OutPoint) -> bool {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 63 |     pub fn is_empty(&self) -> bool {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_blockchain` (bin "rust_blockchain" test) generated 10 warnings (8 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_blockchain-d916d3fa8916b26a)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test blockchain::block::tests::genesis_has_valid_hash ... ok
[INFO] [stdout] test blockchain::block::tests::mining_produces_leading_zeros ... ok
[INFO] [stdout] test blockchain::block::tests::invalid_when_mutated ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_blockchain-de5b1aadaeaa740b)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test blockchain::block::tests::genesis_has_valid_hash ... ok
[INFO] [stdout] test blockchain::block::tests::mining_produces_leading_zeros ... ok
[INFO] [stdout] test blockchain::block::tests::invalid_when_mutated ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rust_blockchain
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "117ba9af2fb3e2450241246c34414b6e80f49bf457d9983a34af38a852d3cf6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "117ba9af2fb3e2450241246c34414b6e80f49bf457d9983a34af38a852d3cf6c", kill_on_drop: false }`
[INFO] [stdout] 117ba9af2fb3e2450241246c34414b6e80f49bf457d9983a34af38a852d3cf6c
